package net.hn.hnms.biz.plan.vo.work;


import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDate;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel("自动排班-班次信息")
public class ScheduleEntryVo {
    private LocalDate date;
    private PersonShiftVo person;
    private String dutyType; // "值班" 或 "带班"
    private String shiftType; // "早班", "中班", "晚班"

    @Override
    public String toString() {
        return "Date: " + date + ", Person: " + person.getName() + ", Duty: " + dutyType + ", Shift: " + shiftType;
    }
}
